<!DOCTYPE html>
<!--

    Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">




    <h:head>
    </h:head>
    <h:body>
        <h:form id="form">
            <h:panelGroup layout="block" rendered="#{repeat3ClickBean.hide}">
                <ui:repeat id="repeat1" var="a" value="#{repeat3ClickBean.list}" varStatus="s">
                    <h:outputText id="a" value="#{s.index} - #{a} - odd" />
                    <h:selectOneMenu id="b"></h:selectOneMenu>
                    <br />
                </ui:repeat>
            </h:panelGroup>
            <h:panelGroup layout="block" rendered="#{not repeat3ClickBean.hide}">
                <ui:repeat id="repeat2" var="a" value="#{repeat3ClickBean.list}" varStatus="s">
                    <h:outputText id="a" value="#{s.index} - #{a} - even" />
                    <h:selectOneMenu id="b"></h:selectOneMenu>
                    <br />
                </ui:repeat>
            </h:panelGroup>
            <h:commandLink id="submit" value="refresh" actionListener="#{repeat3ClickBean.toggle}">
                <f:ajax execute="@form" render="@form"></f:ajax>
            </h:commandLink>
        </h:form>
    </h:body>
</html>
